package com.sky.mapper;

import com.sky.entity.OrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: sky-take-out
 * @description:
 * @author: fmp
 * @create: 2023-04-09 15:10
 * @Version 1.0
 **/
@Mapper
public interface OrderDetailMapper {
    //添加订单详细信息
    void InsetOrderDetail(@Param("orderDetailList") List<OrderDetail> orderDetailList);
    //查询orderID
    List<OrderDetail> selectOrdersDetail(@Param("orderId") Long id);
}
